<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
session_start();
$isLoggedOn = false;
//$loggedOnUser = new user("WHERE `username` = kosong");
if (isset($_SESSION["username"])) {
    $isLoggedOn = true;
    $userName = $_SESSION["username"];
    //echo $userName."</br>";
    $loggedOnUser = new user("WHERE `username` = '$userName'");
}
?>
